import { getCrudApi } from '@/utils/http/crud.ts'

export interface WorkerDto {
  id?: string
  code: string | null
  description: string | null
  name: string | null
  age?: number | null
  sex?: string | null
  mobile?: string | null
  disabled: boolean
}

export default {
  ...getCrudApi<WorkerDto>('worker'),
}
